package com.mmd.common.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/**
 * table --> mmd_mode
 * remarks --> 
 * columns --> modeId,modeName
 */
@ApiModel(value = "mmd_mode",description = "")
public class MmdMode implements Serializable {
    /**
     * modeId
     * 模式ID
     */
    @ApiModelProperty(value="modeId",name="模式ID")
    private Long modeId;

    /**
     * modeName
     * 模式名称
     */
    @ApiModelProperty(value="modeName",name="模式名称")
    private String modeName;

    private static final long serialVersionUID = 1L;

    public Long getModeId() {
        return modeId;
    }

    public void setModeId(Long modeId) {
        this.modeId = modeId;
    }

    public String getModeName() {
        return modeName;
    }

    public void setModeName(String modeName) {
        this.modeName = modeName == null ? null : modeName.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append(", modeId=").append(modeId);
        sb.append(", modeName=").append(modeName);
        sb.append("]");
        return sb.toString();
    }
}